<?php echo $this->render('/public/header');?>
<?php use yii\helpers\Url;?>
<?php $info = $this->params['info'];?>
<div id="main" class="col-xs-12">
    <form class="layui-form layui-form-pane" method="post" action="<?php echo Url::To(['table/income_edit_act']);?>">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">日期</label>
                <div class="layui-input-inline">
                    <input type="text" name="date" id="date" value="<?php echo $info['date'];?>" lay-verify="date" placeholder="yyyy-mm-dd" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">转入金额</label>
                <div class="layui-input-inline">
                    <input type="text" name="name" value="<?php echo $info['in_money'];?>" lay-verify="required"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">转出金额</label>
                <div class="layui-input-inline">
                    <input type="text" name="country" value="<?php echo $info['out_money'];?>" autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">余额</label>
                <div class="layui-input-inline">
                    <input type="text" name="number" value="<?php echo $info['remain_money'];?>" autocomplete="off"  class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">国家</label>
                <div class="layui-input-inline">
                    <input type="text" name="customer_name" value="<?php echo $info['country'];?>" autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">客户编号</label>
                <div class="layui-input-inline">
                    <input type="text" value="<?php echo $info['number'];?>"  name="service_name" lay-verify="required"  autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">客户名称</label>
                <div class="layui-input-inline">
                    <input type="text" value="<?php echo $info['customer_name'];?>" name="pay_type" autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">业务员</label>
                <div class="layui-input-inline">
                    <input type="text" value="<?php echo $info['service_name'];?>" name="money_type"  autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            
            <div class="layui-inline">
                <label class="layui-form-label">type</label>
                <div class="layui-input-inline">
                    <input type="text" value="<?php echo $info['type'];?>" name="invocie_num" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">产品</label>
                <div class="layui-input-inline">
                    <input type="text" name="total_fee" value="<?php echo $info['product'];?>" lay-verify="required"  autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">账号</label>
                <div class="layui-input-inline">
                    <input type="text" name="fee" value="<?php echo $info['account'];?>" autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">净额</label>
                <div class="layui-input-inline">
                    <input type="text" name="clean_fee" lay-verify="required"  autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            
            <div class="layui-inline">
                <label class="layui-form-label">发件人邮箱</label>
                <div class="layui-input-inline">
                    <input type="text" name="email"  autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">余额</label>
                <div class="layui-input-inline">
                    <input type="text" name="remain_money" lay-verify="required"  autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-inline">
                    <input type="text" name="remark"  autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>  
        <input type="hidden" name="id" value="<?php echo yii::$app->request->get('id');?>"  />
        <div class="layui-form-item">
            <button class="layui-btn" lay-submit="" lay-filter="demo2">编辑</button>
        </div>
    </form>
</div>
<?php echo $this->render('/public/footer');?>